updated schema and migrtions