update loki_patch to latest version