edit offer functions complete