assign_to logic incorporated to edit option and add option mode; assign_to logic is hide hotel branch if value is hotel_main or show hotel_branch if value is hotel_branch