update bash variables
update before work