updating onlyif command