Fixed bad update, fixes #943