update postHandler