pythonic updates