update custom script