update meta_data and meta_keys tables