update domain classes creating tables for sql