test for updating format