added namespace :update
fixed rm statement
added sample
fixed rakefile