Update script fixed