Updating spacing variables