edit size and resource