added update meta data method