Fix cap_mkdb update.