Update reset Function
Merge remote-tracking branch 'origin/master'