Add write gps data to database