add auto upgrade extension script to rakefile
fix typo
get rid of the warning in rake