Stack Overflow exception on update due to idiocy