How I update WordPress theme and plugins

Did your customizations include changing the source code in the theme/plugin files? If yes, then you cannot update without loosing them. Instead you can use the child theme approach. Or you can make a plugin, that makes changes to another plugin or theme, which is harder than just changing the source files and you do not have full control, but then you can update without loosing the changes.