update metadata test