update to avoid exception when user can not be found