change Post inheritance class