Here's one good tutorial you can go through:
SQL UPDATE Statement[
^]
Addition:
To update the last row based on column
DateCol
the statement could be something like:
UPDATE table
SET ColumnA = @_ColumnA
WHERE firstname LIKE @_firstname
AND DateCol = (SELECT MAX(DateCol)
FROM table
WHERE firstname LIKE @_firstname)