change attributes to main navigation