update resolution logic