add how to save entity element