added functionality to edit current stocks view