update the format of spcae