Update API call is working. Added a redirect for register