added deletion in another thread for another table