update script for mobile touch