update handler to have depth info