update objective