change table for view