database updating smartly, points displaying