updates to reset function again