context menu function done, updated