updated rails task