[TASK] Implement update and delete functions for /database routes