Change format of storing data