created update test for userdao