update posts to use gallery