entities: added defaults option in Entity constructor
queries: update() must provide array with updated data