updated api format and colors for traces