service handles appointments better

Now updates and deletes appointments if they get called regardless of if
we're inside the application or not.