updating with templates, connecting oauth