Because God that is immutable changes what He willed, He is said to repent, although what changes is a thing and not His counsel.