add edit functionality to pods