update layout for printing