updating failure layout