add postSetAttribute to entity