corrected error in update.php
Merge pull request #10 from sacredheart/master

corrected error in update.php