Heat oil in a pan and add mustard seeds. When it crackles add cumin, udad daal and curry leaves. Now add sliced onions to it and saute until pink in colour. Now add ginger, garlic paste and chopped green chilies. Mix everything well and add turmeric, salt and chopped tomato. Cook until tomato is soft.