update bash codes