Update from Ryan Shea Flask tutorial