update site design and add error handling on post