update score in parse and in core data