updates to vars