flush the update queue before set_metadata
Authored by: medoc 2013-08-28
Parent(s): [994a8c]
Child(ren): [30e12b]