Add function updateAdminAccount in javascript