Updating 404 and functions