fixed sign errors in prepareupdates
bla