Updated singlepost class