Updating a custom component

I've made a custom component and save it in the library. How to update this component? I can't see any command or tutorial in the docs.

I put in form the libary - edit it - and save it with new name - and delete the old

Update might be here in future version