refresh metadata