updating basic functionality