updated depreciated calls

Signed-off-by: Jared Allen <jared@redcact.us>