change item to entity