adding update in user controller