minor updates on AmberDb and Work classes.