update global storage