change mehtod for cancelLetter from post to put. fix log for cancelLetter