Updates API for pasting