added mask, update image resource