updating data hash