Update Petrick.js