update metadata to handle fraction