updating users model