updated counter
added parabolic fit to chang HR