updated function calls in gui