update to check flow