updating failure page layout