added code for adding updating check point