added update to users controller