finish score submit function