Added metadata as a parameter to updateContent