updated depreciated method calls

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