working reize, on both create and update