CHtml::button Problem

I want to use CHtml::button in my update form, problem is, when I click the button it goes to

http://abc.com/test/action

but I need this

http://abc.com/test/index.php?r=user/update

<?php echo CHtml::button(‘Update’, array(‘submit’ => ‘update’)); ?>

Any idea?

You may have your url rules incorrectly setup.

Can you take a look at them or post them here?

Problem solved.

THanks