改寫controller