change reset to update