updated the update function to execute gulp