update frame's md and add gateway's IB