Updates to homework and db examples