update format to pretty print