template done, committing before changing DB address