Update States refatorado