updates costs