updates rake task to have threads