update script for loading content