Fixed update script and wrong contents callback.