refactored controller methods
fixed update proc