Fix DB updates check