update: repository vs model

re-defined Repository vs Model