commit all resource