Implemented delete by id