update post.js to new version express