update to 0.3.1 in preperation for release