Update railscommand