added functionality for editing a gift item