update error 505 class