Updating scoring mechanism and implementing dao