delete and update peewee helper