Refactor update customer route.
Refactor update customer route.