Updating entity structure