Updating Sharpen function