update placement and style of alert messages