fixing issue with updating activity definition
Merge pull request #237 from creighton/fixes

fixing issue with updating activity definition