update   pic metadata  add and  get  function