adding basic metadata on insert now as well as update