Fixed nav functionality
update database