updating rake task for 2.3 to 2.4 upgrade