Update logic in user