run command after the file is updated