Update root resource and fix UI leaking