Performance enhancement, action called before saving. So only one save is called