add topic and association with work, change work.type to work.work_type