adjust metadata