Fixed update users indexes constraints