The president said U.S. military commanders are continuing to adjust their tactics to prevent attacks by terrorist groups and end violence among sectarian groups .