update methods signatures for Post model