Bug fixing: Ordering of update scripts