update missing function