Add and update metadata keys