Flask and base update