update after create