Fixed updating behavior

Fixes #17

> "Well, I don't know what to say, at the time I was writing this code, my brain was farting. It was a brainfart." - Me