Fix updating for portable mode