Static update_comment function added

This function simply takes the comment id and the comment content (the
updated one) and returns an updated object and updates the record in the
database.