updating pml, kinda dirty checks