finish appointment save method