added self id as parameter when updating score