updates schema to cascade and take away not nulls