update loki_patch and loki_flash to current version