update a format