abstract setting of multiple properties