HashMap put method should replace - no need to check/delete
Fix potential memory leak