Update Post.class.php

constructor