update of caption class for titles