update the format