edit sql resource, view , layout