Update GPIO status when resume