wrote import dict, and modify book model