Prevent Update If New File Not Upload

Hi Guys,

Could you please help me, i 2 months working in this dashboard and trying keep information if another file not upload.

I Tried all that i saw here in forum, you can check my topics if you want.

Could you please support me, i trying to store data loaded however its so hard to my dash knowledge level.

I open this gist: https://gist.github.com/CaioEuzebio/b3e45d86d8cde291ae655ecdd58423f1

Thank you in advance, i hope it will help more people than me.

There’s no a simple way to make this, only who realy know dash is able i think so.