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

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

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

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

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

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

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

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

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

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