update permission fields