update render algorithm
update urls
template