add role html update

added functionality, needs debugging