updated code for the site