P04: Bug Fix antecedente save or update

Antecedente save or update  script wasnae working properly