Modification of the two-sublattice model for liquids