update bash var