update Flask to latest versions