Update post gallery to be compatible with new galleries