added complete to database, tasks edit