updated errors codes to reflect the latest changes and fixed some descriptions being wrong