Fix bug with updated route of post entity