add edit action to admin controller