Add method for updating user's information in DAO and some tests for it