update working script