update smlib/entities.inc