added and updated a few hooks