update preference command method