handled role update in administration role in one js-file