chanege gravity data form and code