add handlers and change entry to post