update processLastError
add controler entry point to minimal