Add update lists method
add template sorting