check for a blank record in the categories table causing the default text to be displayed.
as for the category table not updating, you have the initial insert behavior set to redirect after the first record gets inserted, this redirect happens before the categories can be inserted.