implemented delete functionality for poi