Added validaton for 500 error in UpdateCollection