activiti service modified further