updating to latest schema