added set() for convenient __dict__ updates