update gravity calc (not complete)