Updating desktop variables