set Id after save