code to update repo params and flags. added styling as well