Set value on created and updated on constructor