updating prehook controller