Update print details and main class for test