update gravity-engine