upgraded flask and added more requirements