Improved the documentation of User promote task. Fixed some code standard issues.