commit #24 - adding template editing feature, fixing update and delete services for papers and templates