Update lines correctly after granting trust fix #84