built insert entities
update lib for backend