Fix dictupdate to check argument type
Should be generalized to support pair iterators