fixed the shit by removing the extra end in update in accounts