Update metafields.js