updated index for security
removed sql