If an update fails part way, WBAMS puts back every file it had replaced and removes what it added. After a successful update one copy of the replaced files is kept, so they can be put back by hand. Always back up the database before updating.
See Update WBAMS.