updating appointments