updates to variables