lets use sync method setting value in hash