updated remove story/task func