Updating code port 4