save metadata in register