UPDATE: grid implementation