added very ruidmentary funcitonality for updating users