A study of provenance in databases and improving the usability of provenance database systems