update str to dims