Instagram says it will change algorithm to stop mistreatment of black users