change promoteUser function