update figure sizes