fix update script to lock