callback attribute after save