add license and edit index