restore saving and inserting server entities