change complete method to put