update current user logic