changed posts model