Near-real time ground-motion updating for earthquake shaking prediction