System and update

adds the update and add new appointment thing