update hard value with variable