update posts controller spec