change controller and design tables in view