update front-end posts controller and view