added code to update website url in db