Commit with resources