deleted from database the key for paths