saving metadata #360