set mode of phab config