updates classes to reflect new schema, url relations and work attrobutes