update is_dev condition