changed Date fields to type long
added update user to user api