add update user functionality; validation fixes