Update the complete func