update appointments