adding complete method to change task attribute: completed to 'true'