updating controller mistakes