update data rendering in course detail template