update check condition