fix for user not updating from db