adding m_ for koha functions and an update_leader function