update checkErrors with keywords