added entry edit functionality