added functionality of delete in comment