updated view for posts