Call get data each time before writing