added update action to users controller