update few gems version and fix the mentor upload bug and match pipeline function bug