change template of directory list