update posts controlloer
update posts controller