updated  tables with proper attributes