adds score to relevant tables