adding entry on model for post id