Update gui & functionality