implement add 9x9 data into database in controller