Updates the format