Got rid of a hard-coded value in check_and_update