added edit func for source