replace simple reassign with  _.merge