Finishing PKM edit functionality