Fixing model to update score