add functionality to refresh appointment, #20