ugh still de-bugging update history function and it's a bitch