use service to save data