added modifyModelItem hook