update sql storage