added array setter
changed facade behaviour for insert and update