Added edit offer functionality