Updated Post class