[ADJUST] arrumando erros do editar

Signed-off-by: cassio <cassio.ozarias@gmail.com>
[ADJUST] mofiquei usando PDO

Signed-off-by: cassio <cassio.ozarias@gmail.com>