Fix update

Finally working after 48 hours of work.