update common script