Update the core variables