API: Updating tags

When I create a note using the API (POST to /notes/) and supply one or more tag names, the note is created, the tags are created, and the tags are linked to the notes.

When I update a note using the API (PUT to /notes/:id) and supply one or more tag names, the note’s property tags is updated to the new contents, but no tags are created and linked. In other words, the note property tag no longer corresponds to the actual tags.

Is this a bug?