updated layout of classpage