service: handle setting improved

- improved attributes handling