PUT function changed including type check and dao_action objectId