updates for latest schema, version 0.5.1