Creating a like button with collection update

Here is an explanation on another recent post. Let me know if it is helpful.