Fixing update() function so that metadata is sent in it's proper format. Without this change all metadata is ignored on Rackspace.