Add endpoint for updating appointment