update schema, changin some relations between tables