def updateEmployee(self): emp = Employee.getByCredential("saam", "hunt") emp.username = "******" Employee.update(emp)