Update post-model.js