update caption on md size screens