wrap log line on index.php
Use the updateData function
Remove wrong todo attribute
Replace wrong variable