added support for changing state on group objects