private void insertObject(Object changedObject){
        String table = changedObject.getClass().getSimpleName();

        switch(table){
            case "User":
                User user = (User) changedObject;

                dataStorage.users().addUser(user);
                break;
            case "Group":
                Group group = (Group) changedObject;

                dataStorage.groups().addGroup(group);
                break;
            case "Room":
                Room room = (Room) changedObject;

                dataStorage.rooms().addRoom(room);
                break;
            case "Meeting":
                Meeting meeting = (Meeting) changedObject;

                dataStorage.meetings().addMeeting(meeting);
                break;
            case "ExternalUser":
                ExternalUser externalUser = (ExternalUser) changedObject;

                dataStorage.externalUsers().addExternalUser(externalUser);
                break;
            case "GroupMembership":
                GroupMembership groupMembership = (GroupMembership) changedObject;

                dataStorage.groupMemberships().addGroupMembership(groupMembership);
                break;
            case "MeetingInvite":
                MeetingInvite meetingInvite = (MeetingInvite) changedObject;

                dataStorage.meetingInvites().addMeetingInvite(meetingInvite);
                break;
            case "MeetingAdmin":
                MeetingAdmin meetingAdmin = (MeetingAdmin) changedObject;

                dataStorage.meetingAdmins().addMeetingAdmin(meetingAdmin);
                break;
            default:
                break;
        }
    }