changed workId and artistId to id
associations work