apply task effects