add trimming functions for oplog, still need to do oplog.refs